<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<s:form action="/doInfo.html" theme="simple" method="post">
	<s:hidden name="userBeanPage.userId" />
	<s:token />
	<s:actionerror />
	<div class="table">
		<div class="row">
			<div class="cell-label">用户名:</div>
			<div class="cell-text">
				<s:textfield label="用户名" name="userBeanPage.userName" cssStyle="width:280px" disabled="true" />
			</div>
			<div class="cell-desc">
				<div class="fieldError">
					<s:fielderror theme="simple" fieldName="msg.userName" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label">昵称:</div>
			<div class="cell-text">
				<s:textfield label="昵称" name="userBeanPage.nickName" cssStyle="width:280px" />
			</div>
			<div class="cell-desc">
				<div class="fieldError">
					<s:fielderror fieldName="msg.nickName" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label">邮箱:</div>
			<div class="cell-text">
				<s:textfield label="邮箱" name="userBeanPage.mail" cssStyle="width:280px" />
			</div>
			<div class="cell-desc">
				<div class="fieldError">
					<s:fielderror fieldName="msg.mail" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label">年龄:</div>
			<div class="cell-text">
				<s:select label="年龄" name="userBeanPage.age" list="ageList" cssStyle="width:280px" />
			</div>
		</div>
		<div class="row">
			<div class="cell-label">性别:</div>
			<div class="cell-text">
				<s:select label="性别" name="userBeanPage.sex" list="sexMap" listKey="key" listValue="value" cssStyle="width:280px" />
			</div>
		</div>
		<div class="row">
			<div class="cell-label">默认语言:</div>
			<div class="cell-text">
				<s:select label="默认语言" name="userBeanPage.defLangId" list="langList" listKey="langId" listValue="description" cssStyle="width:280px" />
			</div>
		</div>
		<div class="row">
			<div class="cell-label">手机号码:</div>
			<div class="cell-text">
				<s:textfield label="手机号码" name="userBeanPage.mobile" cssStyle="width:280px" />
			</div>
			<div class="cell-desc">
				<s:fielderror fieldName="msg.mobile" />
			</div>
		</div>
		<div class="row">
			<div class="cell-label">地址:</div>
			<div class="cell-text">
				<s:textarea label="地址" name="userBeanPage.address" rows="3" cssStyle="width:280px" />
			</div>
			<div class="cell-desc">
				<div class="fieldError">
					<s:fielderror fieldName="msg.address" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label">自我描述:</div>
			<div class="cell-text">
				<s:textarea label="自我描述" name="userBeanPage.description" rows="4" cssStyle="width:280px" />
			</div>
			<div class="cell-desc">
				<div class="fieldError">
					<s:fielderror fieldName="msg.description" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label">备注:</div>
			<div class="cell-text">
				<s:textarea label="备注" name="userBeanPage.remark" rows="4" cssStyle="width:280px" />
			</div>
			<div class="cell-desc">
				<div class="fieldError">
					<s:fielderror fieldName="msg.remark" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label"></div>
			<div class="cell-button">
				<s:submit name="save" method="save" value="保存" cssStyle="width:60px" />
				<s:submit name="back" method="back" value="返回" cssStyle="width:60px" />
			</div>
			<div class="cell-desc"></div>
		</div>
	</div>
</s:form>